Skip to content

ci: each attempt of a run deploys its own Pages artifact - #33

Merged
pinhopro merged 1 commit into
mainfrom
ci/pages-artifact-per-attempt
Nov 19, 2026
Merged

pinhopro merged 1 commit into
mainfrom
ci/pages-artifact-per-attempt

Conversation

@pinhopro

Copy link
Copy Markdown
Contributor

What changes

Each attempt of a run deploys its own Pages artifact, so a rerun on main no longer fails at Pages.

Rerunning a job of a run on main reruns the jobs after it, Pages among them. The rerun's upload-pages-artifact added a second artifact named github-pages beside the first attempt's, and deploy-pages refused the two: "Multiple artifacts named "github-pages" were unexpectedly found for this workflow run" (run 44363778421, attempt 2). That left the run red although every test passed and the site stayed up.

  • upload-pages-artifact names the artifact github-pages-${{ github.run_attempt }}.
  • deploy-pages deploys that artifact through artifact_name.

Both inputs exist in the pinned versions (v5.0.0 and v5.0.1).

Verified locally

  • actionlint over every workflow.
  • tools/ci/actions_test.py and tools/ci/environment_test.py.
  • The lint's line-length, licence and blank-lines rules over ci.yml.

The owner chose to merge without CI. The next run on main exercises the first attempt, and a rerun of its Pages job proves the fix.

🤖 Generated with Claude Code

A rerun of a job on main reruns Pages after it, whose artifact then sat beside the first
attempt's under the one name github-pages, and deploy-pages refused the two (run 44363778421,
attempt 2). The artifact is now named github-pages-<attempt>, and deploy-pages deploys that one.
@pinhopro
pinhopro merged commit aa8533d into main Nov 19, 2026
2 of 12 checks passed
@pinhopro
pinhopro deleted the ci/pages-artifact-per-attempt branch November 19, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant